package com.qf.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
@author fu
@date 2022/3/2010:40
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AccountUser extends Account{

    private String username;//用户名

    private String address;//用户地址

    @Override
    public String toString() {
        //将父类账户信息显示  后面当前用户的两个 用户名和地址
        return super.toString() +"AccountUser{" +
                "username='" + username + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
